﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KB.Jobs;

namespace TestKooboo.Jobs
{
    public class CreateGoogleSiteMap : CustomJobBase
    {
        public override void Execute(object repeat)
        {
            System.IO.File.AppendAllText(AppDomain.CurrentDomain.BaseDirectory + "/test.txt", DateTime.Now.ToString());

            if (!Convert.ToBoolean(repeat))
            {
                Stop();
            }
        }
    }
}
